package com.xykj.common.entry;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
/**
 *中国指数数据表新
 **/

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ChinaIndex {
    private Long id;
    private String indexName;     // 指数名称
    private BigDecimal latestPrice; // 最新价
    private BigDecimal changeAmount;
    private BigDecimal changePercent;
    private Date dataTime;        // 数据时间
    private Integer isDeleted;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private String createdBy;
    private String updatedBy;
}
